<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>文件上传</title>
</head>
<body>
<!--<img src="uploads/20220402/6.jpg" style="width: 30%;height: 30%" alt="美女">-->
<form action="upload" method="post" enctype="multipart/form-data">
    <label>上传人：<input type="text" name="user"/><br></label>
    <label>文件： <input type="file" name="file"/></label>
    <input type="submit" value="上传单文件">
</form>
<hr>
<form action="uploads" method="post" enctype="multipart/form-data">
    <label>上传人：<input type="text" name="user"/><br></label>
    <label>文件： <input type="file" name="file" accept="image/jpg" multiple/></label>
    <input type="submit" value="上传多文件">
</form>
<hr>


<form action="uploadss" method="post" enctype="multipart/form-data">
    <label>上传人：<input type="text" name="user"/><br></label>
    <label>文件： <input type="file" name="file" accept="image/jpg,image/png" multiple/></label>

    <label>文件： <input type="file" name="file1" accept="image/jpg,image/png" multiple/></label>
    <input type="submit" value="上传多文件">
</form>
</body>
</html>
